<script setup lang="ts">
// ...
import { ElConfigProvider } from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
// @ts-ignore: Vetur误报错误，TypeScript编译已确认正确
import { useThemeStore } from '@/store/theme';

const theme = useThemeStore();
theme.initTheme();
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>

<style lang="stylus">
@import './assets/mai.css';
</style>
